<html>
 <head> 
  <script>
  function sample()
  {
    alert(window.location.search.replace("?opensocial_viewer_email=", ''));
	document.getElementById('content_div').innerHTML = window.location.search.replace("?opensocial_viewer_email=", '');
  }
  </script>
 </head>

 <body onload="sample()">
  <div id="content_div">
    <input type="text" value="Sample"/>
    <input type="text" value="Sample123"/>
    <input type="button" value="Sample"/>
  </div>

 </body>
</html>
